package cn.rkylin.oms.warehouseDocking.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * QmWmsSku实体类, 对应qm_wms_sku表
 * @author jipengcheng
 * @created 2017年10月18日
 */
public class QmWmsSku {
    /**
     * qm_wms_sku_id
     */
    private String qmWmsSkuId;

    /**
     * 访问WMS系统的账号
     */
    private String qmCustomerId;

    /**
     * 规格id
     */
    private String skuId;

    /**
     * 仓储系统商品id
     */
    private String itemId;

    /**
     * 最后一次同步时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastSyncTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public String getQmWmsSkuId() {
        return qmWmsSkuId;
    }

    public void setQmWmsSkuId(String qmWmsSkuId) {
        this.qmWmsSkuId = qmWmsSkuId == null ? null : qmWmsSkuId.trim();
    }

    public String getQmCustomerId() {
        return qmCustomerId;
    }

    public void setQmCustomerId(String qmCustomerId) {
        this.qmCustomerId = qmCustomerId == null ? null : qmCustomerId.trim();
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId == null ? null : skuId.trim();
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId == null ? null : itemId.trim();
    }

    public Date getLastSyncTime() {
        return lastSyncTime;
    }

    public void setLastSyncTime(Date lastSyncTime) {
        this.lastSyncTime = lastSyncTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}